package cn.monkey.family.server.domain.uc.auth.wechat;

import cn.monkey.family.data.Result;
import cn.monkey.family.data.context.RequestContext;
import cn.monkey.family.data.uc.auth.Authorization;
import cn.monkey.family.data.uc.auth.wechat.WechatPhoneNoDecodeRequest;
import cn.monkey.family.data.uc.auth.wechat.WechatSignInRequest;

public interface IWechatService {

    Result<Authorization> authorize(RequestContext requestContext, WechatSignInRequest authRequest);

    Result<String> decodePhoneNo(RequestContext requestContext, WechatPhoneNoDecodeRequest request);
}
